<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model backend\models\ElectiveSearch */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="elective-search">

    <?php $form = ActiveForm::begin([
        'action' => ['index'],
        'method' => 'get',
        'options' => [
            'class' => 'form-inline',
            'data-pjax' => 1
        ],
    ]); ?>

    <?php // echo $form->field($model, 'ID') ?>

    <?php  echo $form->field($model, 'XSID')->label('学校') ?>
    <?php  echo $form->field($model, 'XSID')->label('学号') ?>
    <?php  echo $form->field($model, 'XSID')->label('姓名') ?>
    
    <?php  echo $form->field($model, 'JXKCID')->label('学期') ?>
    <?php  echo $form->field($model, 'JXKCID')->label('课程名称') ?>

    <?php // echo $form->field($model, 'XXSJ') ?>

    <?php // echo $form->field($model, 'PSCJ') ?>

    <?php // echo $form->field($model, 'SYCJ') ?>

    <?php // echo $form->field($model, 'SJCJ') ?>

    <?php // echo $form->field($model, 'KSCJ') ?>

    <?php // echo $form->field($model, 'ZCJ') ?>

    <?php // echo $form->field($model, 'HDXF') ?>

    <?php // echo $form->field($model, 'SHZT') ?>

    <div class="form-group">
        <?= Html::submitButton('查找', ['class' => 'btn btn-primary']) ?>
        <?= Html::resetButton('清除', ['class' => 'btn btn-outline-secondary']) ?>
        <div class="help-block"></div>
    </div>

    <?php ActiveForm::end(); ?>

</div>
